From 36e1bcac3c1479a2327b5420124fe59fb2fec8b6 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sat, 31 Dec 2011 23:07:13 +0100 Subject: [PATCH] css: No longer expose internal properties ... in gtk_style_properties_lookup_property(). Those properties will soon stop having pspecs or even being gettable and settable, so better not tell anyone about it. --- gtk/gtkcsscustomproperty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkcsscustomproperty.c b/gtk/gtkcsscustomproperty.c index 1d49492429..ab0ec9eb96 100644 --- a/gtk/gtkcsscustomproperty.c +++ b/gtk/gtkcsscustomproperty.c @@ -193,7 +193,7 @@ gtk_style_properties_lookup_property (const gchar *property_name, node = _gtk_style_property_lookup (property_name); - if (node) + if (GTK_IS_CSS_CUSTOM_PROPERTY (node)) { if (pspec) *pspec = node->pspec; -- 2.30.2